import {
	post,
	get,
	uploadFile
} from "../request/request";

// 注册
export const Uregister = (loginDto) => {
	return post('/auth/register', loginDto)
}

//登录
export const ULogin = (loginDto) => {
	return post("/auth/login", loginDto)
}

//  获取用户信息
export const getUserInfo = () => {
	return get("/system/frouser")
}

// 更新用户信息
export const ModifyUserInfo = (froUser) => {
	return post("/system/frouser", froUser)
}